  <script type="text/javascript" src="../Public/js/ajax.js"></script>
 <style>
 #my_int{overflow:hidden; word-wrap:break-word;}
 
 </style>
 <include file="Mobile:nav"/>      
 <div class="head3">
		 <div class="portrait_box">
			 <div class="portrait">
				  <div class="basic">
					 <img src="{$avatar}" alt="" />
				     <p id="realname">{$username}</p>
				 </div>

				 

				 
			    
                
			 </div>
		 </div>
		  <a href="javascript:history.go(-1)"><span class="icon1"></span></a>
	 </div>

	 


     
     
     

     <div class="S_note">
         <div class="S_title P_color clear">
             <h3>TA的帖子<em>({$theme_count})</em></h3>
             <span></span>
         </div>

         <div class="note P_color sb_up" id="ta_theme">
            {if $list_theme}
                      <volist name="list_theme" id="r">
                 <div class="section" style="margin-top:10px; border-bottom:#666 solid 1px;">
                     <a href="index.php?g=Mobile&m=Zforum_reply&a=index&id={$r['id']}&plateid={$r['plateid']}">
                         <h3>{$r['title']|str_cut=###,30}</h3>
                         <div class="sb_icon clear">
                             <span class="icon8 icon_com"></span>
                             <em>{$r['hits']}</em>
                             <span class="icon9 icon_com"></span>
                             <em>{$r['reply_num']}</em>
                         </div>
    
                         <i class="time">{$r.createtime|toDate=###,'Y/m/d'}</i>
                     </a>
                 </div>
              </volist>
             
            {else}
                    他还未开始发帖
            {/if}  
         </div>
         {if $theme_count>4}
                 <div class="P_mod_btn" id="page_theme">
                   <a href="index.php?g=Mobile&m=Homepage&a=theme&id={$id}&p=1">点击加载下4条</a>
                 </div>
             {/if}
     </div>

     <div class="S_comment">
         <div class="S_title P_color clear">
             <h3>TA的收藏<em>({$keep_count})</em></h3>
             <span></span>
         </div>
          {if $keep}
           <div class="note P_color S_collect" id="ta_keep">
           <volist name="keep" id="r">
               
               <ul class="comment_list sb_up">
                <div class="section">
               {if $r['module']=='Zforum_theme'}
                    {php 
                       $arr=explode('m=',$r['url']);
                       $url=$arr[1];
                    } 
                  <a href="index.php?g=Mobile&m={$url}" >
               {elseif $r['module']=='User'} 
                  <a href="index.php?g=Mobile&m=Homepage&a=index&id={$r['conid']}">
               {else}   
                  <a href="index.php?g=Mobile&m={$r['module']}&a=show&id={$r['conid']}">
                {/if}   
                <h3>{$r['title']|str_cut=###,30}</h3>
                        <i class="time">{$r['createtime']|remianday=###}</i>
                     </a>
                 </div>
                  
              </ul>
             
         </volist>
          </div>  
         {else}
          
                    他还没有收藏
            {/if}  
         
            {if $keep_count>4}
             <div class="P_mod_btn" id="page_keep">
               <a href="index.php?g=Mobile&m=Homepage&a=keep&id={$id}&p=1">点击加载下4条</a>
             </div> 
            {/if}
     </div>
     

     
     
     <script type="text/javascript">
//收藏
function  keep(id){
	
	
		  var module='User';
		  var url=window.location.search;
		  url='index.php'+url;
		  var title=document.getElementById('realname').innerHTML;
		  var userid=$("#keep_u").attr('name');
		 // alert(userid)
	 $.post(
				  'index.php?g=User&m=Index&a=keep', 
				  {'id':id,
				   'module':module,
				   'url':url,
				   'title':title,
				   
				  },
				  function(res){
					 if(res.length>1000){
						 alert('您还未登录，请您先登录');
						 } else{
							 alert(res);
							  if(res=='收藏成功!'){
							  var keepnum=parseInt($(".keep_n").html())+1;
							  $(".keep_n").html(keepnum);
							  }
					 }
					 
				});
	  
	}


</script>                                                                                                                                                                                                                        